# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-django-taggit
pkgver=1.5.1
pkgrel=1
pkgdesc="Simple tagging for django"
options="!check" # Testsuite for coverage and flake8
url="https://github.com/alex/django-taggit"
arch="noarch"
license="BSD-3-Clause"
depends="py3-django"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/alex/django-taggit/archive/$pkgver.tar.gz"
builddir="$srcdir"/django-taggit-$pkgver

replaces="py-djanog-taggit" # Backwards compatibility
provides="py-djanog-taggit=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
}


sha512sums="
7ebddc4a08629b4382a0f3d73446375860e38f9b42921d4f86668d96c34dd589a5c06f75e5d1c31999a3430b3f6d99339b766eb2cee2930f2222d8cb2871ee1d  py3-django-taggit-1.5.1.tar.gz
"
